package com.bos.dao;

import com.bos.dao.base.IBaseDao;
import com.bos.domain.Function;

import java.util.List;

/**
 * @author Administrator
 */
public interface IFuntionDao extends IBaseDao<Function> {

    /**
     * 查询用户对应的权限
     * @return*/
    List<Function> findByFuntionByUserId(String id);

    List<Function> findAllMenu();

    /**根据用户id查询要生成的菜单
     *
     * @return*/
    List<Function> findMenuByUserId(String id);
}
